package day01.ti.ti01;

public class Text {
    public static void main(String[] args) {
        BingXiang b = new BingXiang();
        b.setPinpai("海尔");
        b.setXinghao("a001");
        b.setYanse("黄色");
        b.setShoujia("3000");
        b.setKuanshi("双门冰箱");
        b.setZhileng("液氮制冷");
        b.show();
        b.zi();
        System.out.println("---------------");
        XiYiJi x=new XiYiJi("统帅洗衣机","x001",
                "灰色","4000","滚筒","7L");
        x.show();
        x.zi();

        System.out.println("---------------");
        DianShi d=new DianShi("海信","h001","白色",
                "2000","36寸","1080p");
        d.show();
        d.zi();
    }
}
